import request from '@/utils/request'

// 获取某个患者的检验列表
export const DocterGetPaientCheckList = (obj) => {
  return request({
    url: '/apply/apply_all',
    method: 'get',
    params: obj
  })
}

// 创建检验申请
export const DocterCreateNewCheck = (obj) => {
  return request({
    url: '/apply/create',
    method: 'post',
    data: obj
  })
}

// 修改检验申请
export const DocterUpdateCheck = (obj) => {
  return request({
    url: '/apply/change',
    method: 'post',
    data: obj
  })
}

// 结果录入完后结束检验申请
export const DocterEndCheck = (obj) => {
  return request({
    url: '/apply/done',
    method: 'post',
    data: obj
  })
}
